home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
easybr
/
form2.frm
< prev
next >
Wrap
Text File
|
1999-10-04
|
8KB
|
261 lines
VERSION 5.00
Object = "{22D6F304-B0F6-11D0-94AB-0080C74C7E95}#1.0#0"; "MSDXM.OCX"
Begin VB.Form Form2
Caption = "Music"
ClientHeight = 5175
ClientLeft = 60
ClientTop = 345
ClientWidth = 5220
LinkTopic = "Form2"
Picture = "Form2.frx":0000
ScaleHeight = 5175
ScaleWidth = 5220
StartUpPosition = 3 'Windows-Standard
Begin VB.CommandButton Command10
Caption = "Back to Easy Browser 1.0"
Height = 495
Left = 1920
TabIndex = 11
Top = 4440
Width = 1215
End
Begin VB.CommandButton Command9
Caption = "Stop Playing!"
Height = 495
Left = 1680
TabIndex = 10
Top = 3600
Width = 1695
End
Begin VB.CheckBox Check1
Height = 255
Left = 1560
TabIndex = 9
Top = 3120
Width = 255
End
Begin VB.CommandButton Command8
Caption = "Will Smith"
Height = 495
Left = 2640
TabIndex = 8
Top = 2160
Width = 2055
End
Begin VB.CommandButton Command7
Caption = "Braveheart"
Height = 495
Left = 2640
TabIndex = 7
Top = 1560
Width = 2055
End
Begin VB.CommandButton Command6
Caption = "Golgotha"
Height = 495
Left = 2640
TabIndex = 6
Top = 960
Width = 2055
End
Begin VB.CommandButton Command5
Caption = "Instinct"
Height = 495
Left = 2640
TabIndex = 5
Top = 360
Width = 2055
End
Begin VB.CommandButton Command4
Caption = "Never Ever"
Height = 495
Left = 480
TabIndex = 4
Top = 2160
Width = 1935
End
Begin VB.CommandButton Command3
Caption = "Dungeon Keeper"
Height = 495
Left = 480
TabIndex = 3
Top = 1560
Width = 1935
End
Begin VB.CommandButton Command2
Caption = "Look at me"
Height = 495
Left = 480
TabIndex = 2
Top = 960
Width = 1935
End
Begin VB.CommandButton Command1
Caption = "I want you back"
Height = 495
Left = 480
TabIndex = 1
Top = 360
Width = 1935
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "Play it many times!"
Height = 255
Left = 1920
TabIndex = 12
Top = 3120
Width = 1455
End
Begin MediaPlayerCtl.MediaPlayer MediaPlayer1
Height = 615
Left = 960
TabIndex = 0
Top = 4320
Visible = 0 'False
Width = 3495
AudioStream = -1
AutoSize = 0 'False
AutoStart = -1 'True
AnimationAtStart= -1 'True
AllowScan = -1 'True
AllowChangeDisplaySize= -1 'True
AutoRewind = 0 'False
Balance = 0
BaseURL = ""
BufferingTime = 5
CaptioningID = ""
ClickToPlay = -1 'True
CursorType = 0
CurrentPosition = -1
CurrentMarker = 0
DefaultFrame = ""
DisplayBackColor= 0
DisplayForeColor= 16777215
DisplayMode = 0
DisplaySize = 4
Enabled = -1 'True
EnableContextMenu= -1 'True
EnablePositionControls= -1 'True
EnableFullScreenControls= 0 'False
EnableTracker = -1 'True
Filename = ""
InvokeURLs = -1 'True
Language = -1
Mute = 0 'False
PlayCount = 1
PreviewMode = 0 'False
Rate = 1
SAMILang = ""
SAMIStyle = ""
SAMIFileName = ""
SelectionStart = -1
SelectionEnd = -1
SendOpenStateChangeEvents= -1 'True
SendWarningEvents= -1 'True
SendErrorEvents = -1 'True
SendKeyboardEvents= 0 'False
SendMouseClickEvents= 0 'False
SendMouseMoveEvents= 0 'False
SendPlayStateChangeEvents= -1 'True
ShowCaptioning = 0 'False
ShowControls = -1 'True
ShowAudioControls= -1 'True
ShowDisplay = 0 'False
ShowGotoBar = 0 'False
ShowPositionControls= -1 'True
ShowStatusBar = 0 'False
ShowTracker = -1 'True
TransparentAtStart= 0 'False
VideoBorderWidth= 0
VideoBorderColor= 0
VideoBorder3D = 0 'False
Volume = -600
WindowlessVideo = 0 'False
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
MediaPlayer1.FileName = "c:\easy browser 1.0\back.mp3"
MediaPlayer1.Play
If Check1.Value = Checked Then
MediaPlayer1.PlayCount = 600
End If
End Sub
Private Sub Command10_Click()
Unload Me
End Sub
Private Sub Command2_Click()
MediaPlayer1.FileName = "c:\easy browser 1.0\look.mp3"
MediaPlayer1.Play
If Check1.Value = Checked Then
MediaPlayer1.PlayCount = 600
End If
End Sub
Private Sub Command3_Click()
MediaPlayer1.FileName = "c:\easy browser 1.0\keeper.mp3"
MediaPlayer1.Play
If Check1.Value = Checked Then
MediaPlayer1.PlayCount = 600
End If
End Sub
Private Sub Command4_Click()
MediaPlayer1.FileName = "c:\easy browser 1.0\never.mp3"
MediaPlayer1.Play
If Check1.Value = Checked Then
MediaPlayer1.PlayCount = 600
End If
End Sub
Private Sub Command5_Click()
MediaPlayer1.FileName = "c:\easy browser 1.0\instinct.wav"
MediaPlayer1.Play
If Check1.Value = Checked Then
MediaPlayer1.PlayCount = 600
End If
End Sub
Private Sub Command6_Click()
MediaPlayer1.FileName = "c:\easy browser 1.0\golgotha.mp3"
MediaPlayer1.Play
If Check1.Value = Checked Then
MediaPlayer1.PlayCount = 60
End If
End Sub
Private Sub Command7_Click()
MediaPlayer1.FileName = "c:\easy browser 1.0\braveheart.mp3"
MediaPlayer1.Play
If Check1.Value = Checked Then
MediaPlayer1.PlayCount = 60
End If
End Sub
Private Sub Command8_Click()
MediaPlayer1.FileName = "c:\easy browser 1.0\will.mp3"
MediaPlayer1.Play
If Check1.Value = Checked Then
MediaPlayer1.PlayCount = 60
End If
End Sub
Private Sub Command9_Click()
MediaPlayer1.Stop
End Sub
Private Sub Form_Load()
Form2.Icon = LoadPicture("c:\easy browser 1.0\ico.ico")
End Sub